package org.example.myleet.p455;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(1 == solution.findContentChildren(new int[]{1,2,3}, new int[]{1,1}));
        Assert.isTrue(2 == solution.findContentChildren(new int[]{1,2}, new int[]{1,2,3}));
        Assert.isTrue(0 == solution.findContentChildren(new int[]{1,2,3}, new int[]{}));
        Assert.isTrue(0 == solution.findContentChildren(new int[]{}, new int[]{1,2,3}));
        Assert.isTrue(2 == solution.findContentChildren(new int[]{10,9,8,7}, new int[]{5,6,7,8}));
    }
}
